import { BaseEntity } from '@cool-midway/core';
import { Column, Entity } from 'typeorm';

/**
 * 订单细节JSON表
 */
@Entity('biz_order_detail', { comment: '订单细节JSON表' })
export class BizOrderDetailEntity extends BaseEntity {
  @Column({ comment: '订单id' })
  orderId: number;

  @Column({ comment: '订单详情', type: 'json' })
  content: string;
}
